<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/includes.jsp" %>

<html>

 <head>
    
    <title>库存列表管理</title>
    <!-- import css and js -->
	<%@ include file="/common/meta.jsp" %>

		<script src="${ctx}/js/jsp/comm.js" type="text/javascript"></script>
    	<script type="text/javascript" src="${ctx}/js/jsp/yd/logic/CqtjReport.js"></script>
	<script type="text/javascript">
		var basic_Url="${ctx}/yd/report";
		var basic_WUrl="/yd/report";
		var basic_Title="库存列表管理";
		var show_Width=950;
		var show_Hight=400;
		function createSearch(){
			init(1,4,'140,140,140,140','25%');
			//第一行的数据
			addCommon(0,0,"lable","港口");
			addCommon(0,1,"txtlike","name");
			addCommon(0,2,"lable","年份");
			addCommon(0,3,"txtlike","yesr");
			multipleSearch("#table1",true,"",basic_Url+"/cqtjwhlist.do");
		}
		function searchAP(){			
			multipleSearch("#table1",true,"",basic_Url+"/cqtjwhlist.do");
		}
		
		function exportAP(){
			var path = basic_Url+"/cqtjexportExcel.do?name="+$("#name").val()+"&yesr=" + $("#yesr").val() + "&iswh=YES";
			window.open(path, "_blank");
		}

	</script>
  </head>
<body onLoad="createSearch()">
   <div id="layout1">
      <div position="top">
      		<div class="panelBar">
          	<ul class="toolBar">
				   <li><a class="export" onclick="exportAP()"><span>导出</span></a></li>
               </ul>
          </div>
          <div id="pageHeader" class="pageHeader">
               <div class="searchBar" id="multipleSearchDialog">
	                <table class="table" width="100%" id="searchHeader" >  
                        <tbody id="newbody">
                        </tbody>
 	                </table>
                    <div class="subBar">
			             <ul>
				             <li><div class="buttonActive"><div class="buttonContent"><button type="submit" id="btnSearch" onclick="searchAP()">查询</button></div></div></li>
				             <li><a class="button" onclick="clearSearch()"><span>重置</span></a></li>
			             </ul>
	                </div>
               </div>
          </div>
      </div>
      <div position="center" id="table1">
      </div>
      <div class="clear"></div>
   </div>
</body>
</html>